Skip to content

Conversation

pellanda-atos-ext
Copy link

Sometimes, when you reload a webpage, you get an exception "cannot get property lastChild or undefined", because the variable parent is undefined.
If that is the case we return from the function to avoid the exception

What issue is this PR resolving? Alternatively, please describe the bugfix/enhancement this PR aims to provide

Have you provided unit tests that either prove the bugfix or cover the enhancement?

Related issues

Sometimes, when you reload a webpage, you get an exception "cannot get property lastChild or undefined", because the variable parent is undefined.
If that is the case we return from the function to avoid the exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant